
@component-namespace el {

  @b switch {

    @e core {
      background: var(--theme-background-color-primary);
      border-color: var(--theme-border-color-primary);
      & .el-switch__button {
        top: -1px;
        margin: 2px;
      }
    }

    @modifier wide {
      .el-switch__label {
        &.el-switch__label--left {
         }
        &.el-switch__label--right {
          span {
            color:var(--theme-font-color-secondary);
          }
        }
      }
    }

  }
}

.el-form-grid .el-switch {
  margin-top:-4px
}
